package ti;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import swing2swt.layout.BorderLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.RowLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.layout.RowData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormAttachment;

public class EcilpseCK1 {

	protected Shell shlAboutEclipspIde;
	private Text txtEclipseIdeFor;

	/**
	 * Launch the application.
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			EcilpseCK1 window = new EcilpseCK1();
			window.open();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		createContents();
		shlAboutEclipspIde.open();
		shlAboutEclipspIde.layout();
		while (!shlAboutEclipspIde.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	/**
	 * Create contents of the window.
	 */
	protected void createContents() {
		shlAboutEclipspIde = new Shell();
		shlAboutEclipspIde.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/0001.png"));
		shlAboutEclipspIde.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		shlAboutEclipspIde.setSize(1026, 550);
		shlAboutEclipspIde.setText("About Eclipsp IDE");
		shlAboutEclipspIde.setLayout(new BorderLayout(0, 0));
		
		Composite composite = new Composite(shlAboutEclipspIde, SWT.NONE);
		composite.setLayoutData(BorderLayout.SOUTH);
		composite.setLayout(new RowLayout(SWT.HORIZONTAL));
		
		Label label_2 = new Label(composite, SWT.NONE);
		label_2.setLayoutData(new RowData(105, 27));
		
		Button btnNewButton = new Button(composite, SWT.NONE);
		btnNewButton.setText("Installation Details");
		
		Label label_1 = new Label(composite, SWT.NONE);
		label_1.setLayoutData(new RowData(507, 30));
		
		Button btnNewButton_1 = new Button(composite, SWT.NONE);
		btnNewButton_1.setLayoutData(new RowData(132, SWT.DEFAULT));
		btnNewButton_1.setText("Close");
		
		Composite composite_1 = new Composite(shlAboutEclipspIde, SWT.NONE);
		composite_1.setLayoutData(BorderLayout.CENTER);
		composite_1.setLayout(new BorderLayout(0, 0));
		
		Composite composite_2 = new Composite(composite_1, SWT.NONE);
		composite_2.setLayoutData(BorderLayout.SOUTH);
		composite_2.setLayout(new RowLayout(SWT.HORIZONTAL));
		
		Button button = new Button(composite_2, SWT.NONE);
		button.setLayoutData(new RowData(SWT.DEFAULT, 48));
		button.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/1.png"));
		
		Button button_1 = new Button(composite_2, SWT.NONE);
		button_1.setLayoutData(new RowData(SWT.DEFAULT, 48));
		button_1.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/2.png"));
		
		Button button_2 = new Button(composite_2, SWT.NONE);
		button_2.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/3.png"));
		
		Button button_3 = new Button(composite_2, SWT.NONE);
		button_3.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/4.png"));
		
		Button button_4 = new Button(composite_2, SWT.NONE);
		button_4.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/5.png"));
		
		Button button_5 = new Button(composite_2, SWT.NONE);
		button_5.setLayoutData(new RowData(SWT.DEFAULT, 49));
		button_5.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/6.png"));
		
		Button button_6 = new Button(composite_2, SWT.NONE);
		button_6.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/7.png"));
		
		Button button_7 = new Button(composite_2, SWT.NONE);
		button_7.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/8.png"));
		
		Button button_8 = new Button(composite_2, SWT.NONE);
		button_8.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/9.png"));
		
		Button button_9 = new Button(composite_2, SWT.NONE);
		button_9.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/10.png"));
		
		Button button_10 = new Button(composite_2, SWT.NONE);
		button_10.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/11.png"));
		
		Button button_11 = new Button(composite_2, SWT.NONE);
		button_11.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/12.png"));
		
		Button button_12 = new Button(composite_2, SWT.NONE);
		button_12.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/13.png"));
		
		Button button_13 = new Button(composite_2, SWT.NONE);
		button_13.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/14.png"));
		
		Button button_14 = new Button(composite_2, SWT.NONE);
		button_14.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/15.png"));
		
		Button button_15 = new Button(composite_2, SWT.NONE);
		button_15.setLayoutData(new RowData(SWT.DEFAULT, 47));
		button_15.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/16.png"));
		
		Button button_16 = new Button(composite_2, SWT.NONE);
		button_16.setLayoutData(new RowData(SWT.DEFAULT, 47));
		button_16.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/17.png"));
		
		Button button_17 = new Button(composite_2, SWT.NONE);
		button_17.setLayoutData(new RowData(SWT.DEFAULT, 47));
		button_17.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/18.png"));
		
		Composite composite_3 = new Composite(composite_1, SWT.NONE);
		composite_3.setLayoutData(BorderLayout.CENTER);
		composite_3.setLayout(new GridLayout(2, false));
		
		Label label = new Label(composite_3, SWT.NONE);
		label.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
		label.setImage(SWTResourceManager.getImage(EcilpseCK1.class, "/images/0002.png"));
		
		txtEclipseIdeFor = new Text(composite_3, SWT.BORDER | SWT.READ_ONLY | SWT.WRAP | SWT.MULTI);
		txtEclipseIdeFor.setText("Eclipse IDE for Enterprise Java Developers.\r\n\r\nVersion: 2020-03 (4.15.0)\r\nBuild id: 20200313-1211\r\n\r\n(c) Copyright Eclipse contributors and others 2000, 2020.  All rights reserved. Eclipse and the Eclipse logo are trademarks of the Eclipse Foundation, Inc., https://www.eclipse.org/. The Eclipse logo cannot be altered without Eclipse's permission. Eclipse logos are provided for use under the Eclipse logo and trademark guidelines, https://www.eclipse.org/logotm/. Oracle and Java are trademarks or registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.\r\n\r\nThis product includes software developed by other open source projects including the Apache Software Foundation, https://www.apache.org/.");
		GridData gd_txtEclipseIdeFor = new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1);
		gd_txtEclipseIdeFor.heightHint = 403;
		txtEclipseIdeFor.setLayoutData(gd_txtEclipseIdeFor);

	}
}
